import random

a = [x for x in range(10)]
print(a)

random.shuffle(a)

print(a)